/*
 * Ast.h
 *
 *  Created on: 28 Oct 2010
 *      Author: kn308
 */

#ifndef AST_H_
#define AST_H_

#pragma once

#include <iostream>
#include <MAlice/MAlice.h>
#include <MAlice/Parser/location.hh>

using namespace yy;

namespace MAlice
{

class Ast
{
protected:
	Ast(location mloc);

public:
	location mLocation;
	virtual ~Ast();
	virtual llvm::Value* generate() = 0;
};

}

#endif /* AST_H_ */
